package org.rico.hibernate.validator.helloworld;

import javax.validation.constraints.NotNull;

public class RentalCar extends Car {

	private String rentalStation;

	public RentalCar(String manufacturer, String rentalStation) {
		super(manufacturer, null, 0);
		this.rentalStation = rentalStation;
	}

	@NotNull
	public String getRentalStation() {
		return rentalStation;
	}

	public void setRentalStation(String rentalStation) {
		this.rentalStation = rentalStation;
	}
}